<template>
  <div class="courseDetails">
    <div class="courseDetailsTitle">
      <img src="../../img/student/courseDetails.png"/>
      <div class="courseDetailsCenter">
        <div class="courseDetailsCenterBJ">班级名称名称</div>
        <div class="courseDetailsCenterJs">班级介绍介绍介绍介绍介介绍</div>
      </div>

    </div>
    <div class="courseDetailsName">课程内容</div>
    <van-steps direction="vertical" :active="1">
      <van-step>
<!--        <div class="xuhao">1</div>-->
        <div class="xuhaoCenter">
          <span>课件名字课件名字课件名字</span>
          <p>学习重点及要求：要求要求</p>
          <p>2016-07-12 12:40</p>
        </div>
        <div class="subscript" @click="jumpTo()">去学习</div>
<!--        <img src="../../img/student/subscript.png" class="subscript"/>-->
      </van-step>
      <van-step>
<!--        <div class="xuhao">2</div>-->
        <div class="xuhaoCenter">
          <span>课件名字课件名字课件名字</span>
          <p>学习重点及要求：要求要求</p>
          <p>2016-07-12 12:40</p>
        </div>
        <div class="subscript">去学习</div>
      </van-step>
      <van-step>
<!--        <div class="xuhao">3</div>-->
        <div class="xuhaoCenter">
          <span>课件名字课件名字课件名字</span>
          <p>学习重点及要求：要求要求</p>
          <p>2016-07-12 12:40</p>
        </div>
        <div class="subscript">去学习</div>
      </van-step>
    </van-steps>
  </div>
</template>

<script>
export default {
  setup() {
  },
  data() {
    return {};
  },
  methods: {
    jumpTo(){
      this.$router.push('/courselearning')
    }
  },
};
</script>

<style >
.app-container{
  background: #F5F6F7;
}
.courseDetails {
  padding: 19px 23px;
  height: 100%;
}

.courseDetailsTitle {
  display: flex;
  align-items: flex-start;

img {
  width: 73px;
  height: 73px;
}

.courseDetailsCenter {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
}

.courseDetailsCenterBJ {
  font-family: PingFangSC, PingFang SC;
  font-weight: bold;
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  text-align: left;
  font-style: normal;
}

.courseDetailsCenterJs {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

}
.courseDetailsName {
  font-family: PingFangSC, PingFang SC;
  font-weight: bold;
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  margin-top: 32px;
}

.van-steps {
  background: #fff;
  border-radius: 8px;
  margin-top: 14px;
}

.van-step__title {
  background: #fff;
  display: flex;
  align-items: center;
  padding:10px 14px 10px 0px;
  border-radius: 10px;
  position: relative;
}

.xuhao {
  font-family: PingFangSC, PingFang SC;
  font-weight: bold;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 20px;
  text-align: center;
  font-style: normal;
  width: 21px;
  height: 21px;
  background: #0BBBFC;
  border-radius: 50%;
  margin-bottom: 4px;
}
.xuhaoCenter{
//margin-left:14px;
span{
  font-family: PingFangSC, PingFang SC;
  font-weight: bold;
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  text-align: left;
  font-style: normal;
}
p{
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 12px;
  color: #666666;
  line-height: 17px;
  text-align: left;
  font-style: normal;
  margin-top: 5px;
}
}
.subscript{
  //width: 8px;
  //height: 14ppx;
  position: absolute;
  right: 15px;
  top:38px;
  background: #DBEBFF;
  border-radius: 13px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #2987FD;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  padding:3px 11px;
}
</style>
